<!-- 表单修改 -->

<template>
  <WebForm :disabled="!one.id" word2>
    <EasyRow col4>
      <FormInput label="名称" bind="dictName" :max="20" required />
      <FormInput label="编码" bind="dictTag" :max="50" disabled />
      <FormNum label="排序" bind="dictOrder" :min="1" :max="99999" tip="请输入" :maxWidth="240" required />
      <FormStatus bind="dictStatus" isRadio />
    </EasyRow>

    <FormTextarea label="备注" bind="dictAbout" :rows="2" :max="20" required />

    <EditButton noDel />
  </WebForm>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'FormEdit',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb(), CORE.mixTree()],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('./', true, /vue$/)),
}
</script>
